]> dgit.raspbian.org Git - gnome-shell.git/commit
altTab: Consider attached modals for window order
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 6 Oct 2016 21:32:08 +0000 (23:32 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 7 Oct 2016 12:51:15 +0000 (14:51 +0200)
commitd4ce51b1b78197def929db329b7e8f4e0d3cec2e
tree02d71424ade74c7424f6a8178833da216a1e3cfb
parent830005069c2875e55c83b05b40b8c2b7e918c766
altTab: Consider attached modals for window order

Similar to bug 667552 for the app switcher, attached modal dialogs
can result in an unexpected window order in the window switcher:
Selecting a window with an attached dialog will focus the dialog
instead, but as the dialog itself is ignored in the window list,
its last-used timestamp is not taken into account for the position
in the MRU list. Fix this by fetching the list of all NORMAL windows
and filter out skip-taskbar windows ourselves, while making sure that
windows appear in the position of their attached modal dialog where
appropriate.

https://bugzilla.gnome.org/show_bug.cgi?id=747153
js/ui/altTab.js